package com.winning.yanghao.designpattern.factory.abstr;

import com.winning.yanghao.designpattern.factory.Computer;

public class AbstractFactoryTest {

    public static void main(String[] args) {
        AbstractComputerFactory factory = new ComputerFactory();
        Computer computer = factory.getAppleComputer();
        computer.printName();
        computer.printColor();
    }

}
